home *** CD-ROM | disk | FTP | other *** search
- Short: Prevents posting unedited messages with THOR
- Author: Neil Bothwick <neil@wirenet.co.uk>
- Uploader: Neil Bothwick <neil@wirenet.co.uk>
- Version: 1.2
- Type: comm/thor
-
- THOR's asynchronous message editing is extremely useful, but there is
- a disadvantage. If you Send Events while a message is being edited,
- the unedited version is sent and the file you save is lost.
-
- SafeEdit.thor is the solution. It freezes the event before starting the
- editor and activates it when you exit the editor, while still
- retaining all the advantages of asynchronous editing.
-
- With version 1.1 you also get a warning if you leave the editor
- without saving. You have the choice of re-editing the message,
- leaving it or deleting the event. This removes the need for scripts
- like CancelEvent.ged.
-
-
- Installation
- ============
-
- Copy SafeEdit.thor to {THORPath}/rexx
- Go into Global Config/Message options and set the external editor to
- Run >NIL: rexx/SafeEdit.thor
- Open a shell, CD to the THOR directory and type the following lines:
-
- protect rexx/SafeEdit.thor +s
- setenv THO0R/Editor [editor command]
- copy ENV:THOR/Editor ENVARC:THOR
-
- where [editor command] is the command used to start your editor in
- "sticky" mode. For the GoldED quickstarter use "C:Ed STICKY".
-
- The file to be edited will be added to the end of this line. If you
- have an editor than doesn't accept the file in this position, mail me
- with the syntax needed and I'll revise the script where necessary.
-
-
- Warranty
- ========
-
- This script works for me. I guarantee that it will work for you
- whenever it works, but at no other time.
-
-
- Problems?
- =========
-
- If SafeEdit.thor doesn't freeze the event when editing, make sure your
- editor command includes whatever option is needed to make the editor
- sticky. You can test this my typing the command in a shell, if the
- shell prompt doesn't return until you quit the editor the command
- should work. Should you still have problems, mail me with exact
- details.
-
-
- History
- =======
-
- 1.0 First release - it worked
-
- 1.1 Added warning if you exit the editor without saving.
-
- 1.2 Added ADDUSER switch to add the recipient of the current mail to the
- User Database. this has proved less than useful if you use THOR to read
- and reply to mailing list messages :(
-
- To Do
- =====
-
- Add option to strip a signature from a message before replying.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2335 1145 50.9% 06-Oct-98 09:33:52 SafeEdit.readme
- 3220 1480 54.0% 19-Oct-98 13:11:16 SafeEdit.thor
- -------- ------- ----- --------- --------
- 5555 2625 52.7% 19-Oct-98 22:21:50 2 files
-